package com.xueyi.system.maintenanceRecords.service.impl;

import com.xueyi.system.maintenanceRecords.domain.query.MaintenanceRecordsQuery;
import com.xueyi.system.maintenanceRecords.domain.dto.MaintenanceRecordsDto;
import com.xueyi.system.maintenanceRecords.service.IMaintenanceRecordsService;
import com.xueyi.system.maintenanceRecords.manager.IMaintenanceRecordsManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 维保记录管理 服务层处理
 *
 * @author zlf
 */
@Service
public class MaintenanceRecordsServiceImpl extends BaseServiceImpl<MaintenanceRecordsQuery, MaintenanceRecordsDto, IMaintenanceRecordsManager> implements IMaintenanceRecordsService {

    /**
     * 查询维保记录对象列表 | 数据权限 | 附加数据
     *
     * @param maintenanceRecords 维保记录对象
     * @return 维保记录对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"MaintenanceRecordsMapper"})
    public List<MaintenanceRecordsDto> selectListScope(MaintenanceRecordsQuery maintenanceRecords) {
        return baseManager.selectListExtra(maintenanceRecords);
    }

}